/**
 * Created by commy on 2015/4/29.
 */
var express = require('express'),
    logger = require('morgan'),
    app = express();


app.use('/user',require('./user'));
app.use('/closet',require('./appsession'),require('./closet'));
app.use('/size_table',require('./appsession'),require('./size_table'));
//app.use('/test',require('./appsession'),express.static('test'))
app.listen(process.env.PORT||80);


//var a = {
//    "optime":1430379357,   /*操作unix时间戳秒 */
//    "content":{
//        "name":"冯科棉",
//        "sex":"male",  /*female 或者 male*/
//        "height":175,  /*单位厘米*/
//        "weight":62,
//        "targetbody":0,  /*0,1,2,3分别为消瘦,标准,强壮,肥胖*/
//        "bust":62.23,  /*胸围*/
//        "waist":62.23, /*腰围*/
//        "hip":62.23    /*臀围*/
//    }
//}
